Feature: Listar, Agregar, Actualizar y Publicar POST
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 34.984s |
Scenario: Como un usuario inicio sesión y edito un post con un imagen y texto
Before
0m 1.056s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 0.630s
And
I wait for 1 seconds
0m 1.108s
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
0m 0.170s
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
0m 0.131s
And
I wait for 1 seconds
0m 1.103s
Then
I click element with xpath "<BTN_SIGNIN_EID>"
0m 0.180s
And
I wait for 1 seconds
0m 1.145s
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
0m 0.181s
And
I wait for 1 seconds
0m 1.110s
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.198s
And
I wait for 1 seconds
0m 1.112s
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
0m 0.236s
And
I wait for 5 seconds
0m 5.102s
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
0m 0.370s
And
I click element with xpath "<POST_ONLIST_CLASS>"
0m 0.179s
And
I wait for 1 seconds
0m 1.107s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.150s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.109s
And
I set text "Hey post has sido actualizado" on element with xpath "<CONTENT_ECLASS>"
0m 0.187s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.097s
And
I wait for 1 seconds
0m 1.104s
Then
I click element with xpath "<PLUS_ADD_ECLASS>"
0m 0.284s
And
I wait for 2 seconds
0m 2.120s
Then
I click element with xpath "<UNSPLASH_XPATH>"
0m 0.254s
And
I wait for 3 seconds
0m 3.338s
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
0m 0.171s
And
I wait for 3 seconds
0m 3.202s
And
I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
0m 0.277s
And
I wait for 1 seconds
0m 1.228s
Then
I click element with xpath "<CONTENT_ECLASS>"
0m 0.301s
And
Enter on element with xpath "<CONTENT_ECLASS>"
0m 0.237s
And
I wait for 1 seconds
0m 1.237s
Then
I click element with xpath "<POST_TITLE_ECLASS>"
0m 0.323s
And
I wait for 5 seconds
0m 5.242s
After
0m 0.005s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 1 seconds
And
I set text "<USERNAME>" on element with xpath "<USERNAME_EID>"
And
I set text "<PASSWORD>" on element with xpath "<PASSWORD_EID>"
And
I wait for 1 seconds
Then
I click element with xpath "<BTN_SIGNIN_EID>"
And
I wait for 1 seconds
Given
I navigate to page "http://localhost:2368/ghost/#/editor/post"
And
I wait for 1 seconds
And
I set text "POST con Imágen para ACTUALIZAR" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
And
I set text "Hey post has sido creado" on element with xpath "<CONTENT_ECLASS>"
And
I wait for 5 seconds
Then
I navigate to page "http://localhost:2368/ghost/#/posts"
And
I click element with xpath "<POST_ONLIST_CLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
And
Enter on element with xpath "<CONTENT_ECLASS>"
And
I set text "Hey post has sido actualizado" on element with xpath "<CONTENT_ECLASS>"
And
Enter on element with xpath "<CONTENT_ECLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<PLUS_ADD_ECLASS>"
And
I wait for 2 seconds
Then
I click element with xpath "<UNSPLASH_XPATH>"
And
I wait for 3 seconds
And
I click element with xpath "<INSERT_IMAGE_ECLASS>"
And
I wait for 3 seconds
And
I set text "POST ACTUALIZADO" on element with xpath "<POST_TITLE_ECLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<CONTENT_ECLASS>"
And
Enter on element with xpath "<CONTENT_ECLASS>"
And
I wait for 1 seconds
Then
I click element with xpath "<POST_TITLE_ECLASS>"